Skip to content

make TestAdminLogsWindow more reliable#43710

Open
Ian321 wants to merge 1 commit intospace-wizards:masterfrom
Ian321:test_admin_logs_window_test_fix
Open

make TestAdminLogsWindow more reliable#43710
Ian321 wants to merge 1 commit intospace-wizards:masterfrom
Ian321:test_admin_logs_window_test_fix

Conversation

@Ian321
Copy link
Copy Markdown
Contributor

@Ian321 Ian321 commented Apr 24, 2026

About the PR

This PR gives the TestAdminLogsWindow a bit more time to load.

Why / Balance

The test is currently unreliable.

Technical details

Wait 10 (instead of 5) ticks after clicking.

Media

No

Requirements

Breaking changes

Changelog

@PJBot PJBot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/XS Denotes a PR that changes 0-9 lines. labels Apr 24, 2026
@murphyneko
Copy link
Copy Markdown
Contributor

Just to clarify: how'd you figure out that this was the problem?

@Ian321
Copy link
Copy Markdown
Contributor Author

Ian321 commented Apr 24, 2026

Just to clarify: how'd you figure out that this was the problem?

https://github.com/space-wizards/space-station-14/actions/runs/24891740016/job/72885593263?pr=34600

// Search for the log we added earlier.
await Client.WaitPost(() => search.Text = guid.ToString());
await ClickControl(refresh);
await RunTicks(5);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would await Pair.RunUntilSynced() work here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is waiting for the list to fill with the given query. there is nothing to sync, so no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/XS Denotes a PR that changes 0-9 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants